package xyz.thoughtset.viewer.modules.ds.http.simple.linker;


import okhttp3.OkHttpClient;
import org.springframework.stereotype.Component;
import xyz.thoughtset.viewer.common.connector.entity.bo.ConnectorMeta;
import xyz.thoughtset.viewer.common.connector.entity.bo.Linker;
import xyz.thoughtset.viewer.modules.ds.http.core.linker.HttpConnBuilder;
import xyz.thoughtset.viewer.modules.ds.http.core.constant.SupportTypeConstant;

import java.util.Properties;

@Component
public class SimpleHttpReqBuilder extends HttpConnBuilder {
    public SimpleHttpReqBuilder() {
        super(new Linker(
                "SimpleHttpReq",
                null,
                SupportTypeConstant.SUPPORT_TYPE
        ));
    }


    @Override
    protected OkHttpClient.Builder addInterceptor(OkHttpClient.Builder builder, ConnectorMeta connectorMeta, Properties properties) {
        return builder;
    }
}
